package com.landtool.lanbase.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 获取配置文件sys开头的实体类
 */
@Component
@ConfigurationProperties(prefix = "sys")
public class SysConfig {
    /**
     * 获取数据接口的类型
     */
    private String openType;

    /**
     * 获取数据接口的省份
     */
    private String openProvince;

    /**
     * 获取数据接口是否需要登录
     */
    private Boolean isLogin;

    private Integer pushNum;

    public Integer getPushNum() {
        return pushNum;
    }

    public void setPushNum(Integer pushNum) {
        this.pushNum = pushNum;
    }

    public String getOpenType() {
        return openType;
    }

    public void setOpenType(String openType) {
        this.openType = openType;
    }

    public String getOpenProvince() {
        return openProvince;
    }

    public void setOpenProvince(String openProvince) {
        this.openProvince = openProvince;
    }

    public Boolean getIsLogin() {
        return isLogin;
    }

    public void setIsLogin(Boolean isLogin) {
        this.isLogin = isLogin;
    }
}
